package org.hackystat.projectbrowser.page.setaction;

import org.apache.wicket.PageParameters;
import org.hackystat.projectbrowser.page.ProjectBrowserBasePage;

/**
 * The webpage that edits an action name. 
 * 
 * @author Edward Kim
 *
 */
public class EditActionName extends ProjectBrowserBasePage {

  /** Support serialization. */
  private static final long serialVersionUID = 1L;
    
  /**
   * Create the HomePage. 
   * @param param The page parameters to be passed as strings. 
   */
  public EditActionName(PageParameters param) {
    String id = param.getStringValue("tapName").toString();
    String projectName = param.getStringValue("projectName").toString();
    String oldActionName = param.getStringValue("oldActionName").toString();
    add(new EditActionNameTable("editActionName-table", id, projectName, oldActionName));
  }
}
